package com.lun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lun.domain.dto.PageDTO;
import com.lun.domain.po.User;
import com.lun.domain.query.UserQuery;
import com.lun.domain.vo.UserVO;

import java.util.List;

/**
 * ClassName: IUserService
 * Description:
 *
 * @Author wyl
 * @Create 2024/5/18 16:06
 * @Version 1.0
 */
public interface IUserService extends IService<User> {
    void deductBalance(Long id, Integer money);

    UserVO queryUserAndAddressById(Long userId);

    List<UserVO> queryUserAndAddressByIds(List<Long> ids);

    PageDTO<UserVO> queryUserPage(UserQuery query);
}
